﻿using System;
using System.Web.UI;
using AcctrueWMS.Foundation.Web.Session;

namespace AcctrueWMS.Web
{
    public partial class Top : Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
        }
        public string GetUserName()
        {
            if (Session[SessionConst.DisplayName] != null)
                return Session[SessionConst.DisplayName].ToString();
            else
                return "";
        }
        public string GetUserRoles()
        {
            return "";
        }

        protected void btnLogOff_Click(object sender, EventArgs e)
        {
            Session.Clear();
            Session.Abandon();
        }
    }
}
